//Systemm.exit(0);
//终止虚拟机
//Systemm.currentTimeMillis();
//返回毫秒值,从1970.1.1算起
public class Systemm {
    public static void main(String[] args) {
        long s = System.currentTimeMillis();

        for (int i = 0; i < 1000; i++) {
            System.out.println(i);
        }

        long e = System.currentTimeMillis();
        System.out.println(e - s + "毫秒");
        //java.lang.System.exit(0);
        System.out.println(System.currentTimeMillis() / 1000 / 60 / 60 / 24 / 365);
        System.out.println(System.currentTimeMillis());
    }
}
